<div class="box">
	<div class="column">
		<?php if(!$this->empty){?>
			<?php if($this->item2['graph'] == 1) {?>
				<div class="colimg" style="height:120px"><img src="<?php echo $this->File( $this->item2['Galeries']['Photos'], 170 ) ?>" alt=""></div>
				
		<?php } ?>
		<div class="coltext" style="line-height:18px">
			<?php echo nl2br( $this->item2['lead_' . $this->locale] )?>  
		</div>
		<?php } ?>
		<div class="coltext" style="line-height:18px">
			brak tekstu.  
		</div>
	<div class="clr"></div>
	</div>
	
	<a href="#" class="bottomright">Poorboy's World</a>
	<div class="end"></div>
</div>


<h2 class="mtop10 bold"><?php echo $this->translate( 'latest_products' ); ?></h2>
<div class="content">
<?php $i = 1; foreach( $this->list as $value ) { ?>
	<div class="boxprodmini">
		<div class="boximg" style="background-image:url(<?php echo $this->File( $value['Galeries']['Photos']->toArray(), 195 ) ?>)"><a href="{baseUrl}/shop/item/id/<?php echo $value['p_id'] ?>/<?php echo $this->Seo( $value['name_' . $this->locale] ) ?>"></div>
		<div class="name"><a href="{baseUrl}/shop/item/id/<?php echo $value['p_id'] ?>/<?php echo $this->Seo( $value['name_' . $this->locale] ) ?>"><?php echo $value['name_' . $this->locale] ?></a></div>
		<?php $free = $this->Findfree( $value['Dimension'] ); ?>
		<div class="price"><?php echo $this->Price( $value, $free, $this->locale, true ) ?></div>
	
		<div class="avail">
		
		<?php 
		if($value['Dimension'][$free]['stock'] > 0) { ?>
			<img src="{baseUrl}/public/images/bgreen.png" alt="">
			<?php if( $value['wishlist'] == 'no' ) { ?>
				<a href="{baseUrl}/shop/basket/add/<?php echo $value['p_id'] ?>/dem/<?php echo $value['Dimension'][$free]['d_id'] ?>" ><?php echo $this->translate( 'add_to_basket' ) ?></a>
			<?php } ?>
		<?php } else {?>
			<img src="{baseUrl}/public/images/bred.png" alt="">
			<a href="{baseUrl}/shop/wishlist/id/<?php echo $value['p_id'] ?>" ><?php echo $this->translate( 'add_to_whishlist' ) ?></a>
		<?php }	?>
		</div>
		
		<?php if($i<=3) echo '<div class="new"></div>'; $i++;  ?>
	</div>
	

<?php $i++; } ?>
	<div class="clr"></div>
</div>